home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
pcv06n01.zip
/
ADDTOIT.DOC
< prev
next >
Wrap
Text File
|
1993-06-07
|
2KB
|
54 lines
ADDTOIT.DOC January 1993 Jeff Prosise/Dale Lewallen
----------------------------------------------------------------
Purpose: Extend path environment variable to any length.
Format: ADDTOIT [drive:] [path]
Usage: ADDTOIT lets you append additional directory names
to the end of your path environment variable set
up in your AUTOEXEC.BAT. It lets you break up a
long PATH command into several commands. For
example, to render a path of
C:\DOS;C:\WINDOWS;C:\MASM\BIN;
use the following syntax:
PATH=C:\DOS;C:\WINDOWS;
ADDTOIT C:\MASM\BIN
or even:
PATH=C:\DOS;
ADDTOIT C:\WINDOWS
ADDTOIT C:\MASM\BIN
Remarks: By breaking a long PATH statement into smaller
components that fit within DOSs 127-character
limit on individual commands, you can create PATH
strings that are limited only by the amount of
free space If ADDTOIT displays the "Insufficient
environment space" error message, increase the
environment size with a SHELL statement in
CONFIG.SYS.
Another error message you might see from ADDTOIT
is "PATH variable not found". This means that the
environment currently contains no PATH string.
(ADDTOIT can't create a path statement; it can
only add directory names to an existing PATH.)
One annoying drawback to DOSs SET and PATH
commands is that they will display only the first
127 characters of the PATH, even though DOS uses
the full ADDTOIT path when it searches your hard
disk for an executable file.
Comments: Use ADDTOIT in moderation. Long PATH strings slow
DOS down, and the later a directory name appears
in a PATH string, the longer it takes DOS to find
a program file in that directory. Keep your PATH
statements as short as possible.